package com.zshan.clinic.database.dao;

import com.zshan.clinic.database.model.StockDrug;
import com.zshan.clinic.database.model.StockDrugExample;
import com.zshan.clinic.mybatis.SuperMapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface StockDrugMapper extends SuperMapper {
    long countByExample(StockDrugExample example);

    int deleteByExample(StockDrugExample example);

    int deleteByPrimaryKey(Long stockId);

    int insert(StockDrug row);

    int insertSelective(StockDrug row);

    List<StockDrug> selectByExample(StockDrugExample example);

    StockDrug selectByPrimaryKey(Long stockId);

    int updateByExampleSelective(@Param("row") StockDrug row, @Param("example") StockDrugExample example);

    int updateByExample(@Param("row") StockDrug row, @Param("example") StockDrugExample example);

    int updateByPrimaryKeySelective(StockDrug row);

    int updateByPrimaryKey(StockDrug row);
}